package com.wlyuan.open.scanner.domain.tenant;

import com.wlyuan.open.scanner.domain.tenant.driver.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @author lijing
 * @description
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString(callSuper = true)
public class DriverTenant extends BaseTenant {

    private Long id;

    @ApiModelProperty("性别")
    private Integer gender;
    @ApiModelProperty("手机")
    private String mobile;
    @ApiModelProperty("昵称")
    private String nick;
    @ApiModelProperty("头像")
    private String avatar;
    @ApiModelProperty("微信openId")
    private String openId;

    @ApiModelProperty("司机个人信息")
    private DriverPerson driverPerson;
    @ApiModelProperty("行驶证信息")
    private DriveringLicense drivingLicense;
    @ApiModelProperty("驾驶证信息")
    private DriverLicense driverLicense;
    @ApiModelProperty("运输证信息")
    private TransportCert transportCert;
    @ApiModelProperty("车辆信息")
    private DriverVehicle vehicle;

    private Long createBy;
    private Long updateBy;
    private Integer status;

    private TenantConfig tenantConfig;
}
